package com.indux.prefset.bo;

import java.util.List;

import com.indux.prefset.constants.Env.EffectPeriodType;

public class EffectPeriod
{
	private int id;
	private String startTime;
	private String endTime = null;
	private EffectPeriodType periodType = EffectPeriodType.EVERYDAY;
	private List<String> excludeDays = null;
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	
	public String getStartTime()
	{
		return startTime;
	}
	
	public void setStartTime(String startTime)
	{
		this.startTime = startTime;
	}
	
	public String getEndTime()
	{
		return endTime;
	}
	
	public void setEndTime(String endTime)
	{
		this.endTime = endTime;
	}
	
	public EffectPeriodType getPeriodType()
	{
		return periodType;
	}
	
	public void setPeriodType(EffectPeriodType periodType)
	{
		this.periodType = periodType;
	}
	
	public List<String> getExcludeDays()
	{
		return excludeDays;
	}
	
	public void setExcludeDays(List<String> excludeDays)
	{
		this.excludeDays = excludeDays;
	}
	
	@Override
	public String toString()
	{
		return "EffectPeriod [id=" + id + ", startTime=" + startTime
		        + ", endTime=" + endTime + ", periodType=" + periodType
		        + ", excludeDays=" + excludeDays + "]";
	}
	
}
